#pragma once
#include "MysqlDao.h"
#include "../.././_singleton.h"

class MysqlMgr: public _Singleton<MysqlMgr>
{
    friend class _Singleton<MysqlMgr>;
public:
	~MysqlMgr();

    QList<FileInfo> GetFilesByUser(int user_id, int limit, int offset);
private:
	MysqlMgr();
	MysqlDao  _dao;
};

